<div class="home-list-report" ng-show="home_list_actived==='report'" ng-init="init()">
  <div class="item"  ng-repeat="item in home_list_report|orderBy:'-sort_person_rate' track by $index" ng-click="go_detail(item)">
    <i></i>
    <div>
      <div>
        <span ng-bind="item.product_name"></span>
        <span style="display: inline-block;width:2.2rem;" ng-bind="item.product_code"></span>
        <span class="home-list-report-gray">保证金</span>
        <span ng-bind="item.deposit_balance"></span>
      </div>
      <div>
        <span ng-bind="item.person_rate||'0.00%'" ng-class="{'global_color_red':item.sort_person_rate>0,'global_color_green':item.sort_person_rate<0,'global_color_gray':item.sort_person_rate==0}"></span>
        <span class="home-list-report-gray">买价</span>
        <span ng-bind="item.open_price"></span>
        <span class="home-list-report-gray">卖价</span>
        <span ng-bind="item.close_price"></span>
      </div>
      <div>
        <span class="home-list-report-gray">收益率</span>
        <span class="home-list-report-gray">数量</span>
        <span ng-bind="item.open_amount"></span>
        <span class="home-list-report-gray">盈亏</span>
        <span ng-bind="item.allot_balance" ng-class="{'global_color_red':item.allot_balance>0,'global_color_green':item.allot_balance<0,'global_color_gray':item.allot_balance==0}"></span>
      </div>
    </div>
  </div>
</div>

<div class="home-list-create" ng-show="home_list_actived==='create'">
  <div class="item" ng-repeat="item in home_list_create track by $index" >
    <div>
      <i></i>
      <span ng-bind="item.mobile"></span>
      <span ng-bind="item.time_interval|time_interval"></span>
    </div>
    <div>
      <span ng-bind="item.product_name+' '+item.product_code"></span>
      <span ng-bind="item.strategy_name" class="global_color_red"></span>
      <span>买入</span>
      <span ng-click="go_strategy(item)">创建</span>
    </div>
  </div>